if("${CPACK_GENERATOR}" STREQUAL "ZIP")

	set(CPACK_INCLUDE_TOPLEVEL_DIRECTORY OFF)
	set(CPACK_ERROR_ON_ABSOLUTE_INSTALL_DESTINATION OFF)
	
elseif("${CPACK_GENERATOR}" STREQUAL "WIX")

	set(CPACK_INCLUDE_TOPLEVEL_DIRECTORY OFF)
	set(CPACK_ERROR_ON_ABSOLUTE_INSTALL_DESTINATION OFF)

endif()
